@Defines@<:#284,9360><:f240,2Times New Roman,0,0,0><+,>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)<-,>
@Defines@<:#284,9360><+,><:f240,2Times New Roman,0,0,0>Define Get<-,><+,>Size() DllCall("user,GetWindowRect,HHN",%1,%2)<-,>
@Function@<:#284,9360><-!>
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function begin(hdlg)
<:#284,9360><:f240,2Times New Roman,0,0,0>thisfile = getrunningmacrofile$()
<:#284,9360><:f240,2Times New Roman,0,0,0>metrics = getprofilestring$("wht-find<:f><:f240,2Times New Roman,0,0,0>", "Metrics", "{windir}amipro2.ini")
@If Endif@<:#284,9360><:f240,2Times New Roman,0,0,0> if metrics != ""
<:#284,9360><:f240,2Times New Roman,0,0,0> setdlgcallback(0, "{thisfile}!init")
@If Endif@<:#284,9360><:f240,2Times New Roman,0,0,0> endif
<:#284,9360><:f240,2Times New Roman,0,0,0>setdlgcallback(20, "{thisfile}!curloc")
@If Endif@<+C><:#284,9360><:f240,2Times New Roman,0,0,0>DlgKeyInterrupt(<[>F1], "HelpFun") ' This if F1
<+C><:#284,9360><:f240,2Times New Roman,0,0,0>Box = DialogBox(".", "Find<:f><:f240,2Times New Roman,0,0,0>")
<:#284,9360><:f240,2Times New Roman,0,0,0>IF Box = -1
<:#284,9360><:f240,2Times New Roman,0,0,0>Message("Could not open dialog box; Exiting macro.")
<:#284,9360><:f240,2Times New Roman,0,0,0>EXIT FUNCTION
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 0
<:#284,9360><:f240,2Times New Roman,0,0,0>EXIT FUNCTION
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 3
<:#284,9360><:f240,2Times New Roman,0,0,0>call c:\amipro\macros\find<:f><:f240,2Times New Roman,0,0,0>.smm<:f><:f240,2Times New Roman,0,0,0>()
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 4
<:#284,9360><:f240,2Times New Roman,0,0,0>FindReplace()<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 5
<:#284,9360><:f240,2Times New Roman,0,0,0>call c:\amipro\macros\keyword.smm<:f><:f240,2Times New Roman,0,0,0>()
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 7<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>call c:\amipro\macros\findfile.smm()<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 6<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>call c:\amipro\macros\freplace.smm()<:f>
<:#284,9360><:f240,2Times New Roman,0,0,0>ENDIF
<:#284,9360><:f240,2Times New Roman,0,0,0>END FUNCTION
<+C><:#284,9360><-!><:f240,2Times New Roman,0,0,0>FUNCTION HelpFun(hdlg, key)
<:#284,9360><:f240,2Times New Roman,0,0,0>DialogBox(".","Helper")
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>end function
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function init(hdlg)
<:#284,9360><:f240,2Times New Roman,0,0,0>metrics = getprofilestring$("wht-find<:f><:f240,2Times New Roman,0,0,0>", "Metrics", "{windir}amipro2.ini")
<:#284,9360><:f240,2Times New Roman,0,0,0>x = strfield$(metrics, 1, ",")
<:#284,9360><:f240,2Times New Roman,0,0,0>y = strfield$(metrics, 2, ",")
<:#284,9360><:f240,2Times New Roman,0,0,0>w = strfield$(metrics, 3, ",")
<:#284,9360><:f240,2Times New Roman,0,0,0>h = strfield$(metrics, 4, ",")
<:#284,9360><:f240,2Times New Roman,0,0,0>movewindow(hdlg, x, y, w, h, 1)
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>end function
@Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function curloc(hdlg)
<:#284,9360><:f240,2Times New Roman,0,0,0>dim coord(4)
<:#284,9360><:f240,2Times New Roman,0,0,0>getsize(hdlg, &coord)
<:#284,9360><:f240,2Times New Roman,0,0,0>x = coord(1)
<:#284,9360><:f240,2Times New Roman,0,0,0>y = coord(2)
<:f240,2Times New Roman,0,0,0>cx = coord(3)
<:f240,2Times New Roman,0,0,0>cy = coord(4)
<:f240,2Times New Roman,0,0,0>w = cx - x
<:f240,2Times New Roman,0,0,0>h = cy - y
<:f240,2Times New Roman,0,0,0>writeprofilestring("wht-find"<:f><:f240,2Times New Roman,0,0,0>, "Metrics", strcat$(x, ",", y, ",", w, ",", h), "{windir}amipro2.ini")
<+@><:f240,2Times New Roman,0,0,0>end function
<:f240,2Times New Roman,0,0,0>DIALOG Find<:f>
<:f240,2Times New Roman,0,0,0>-2134900736 8<:f><:f240,2Times New Roman,0,0,0> 199<:f><:f240,2Times New Roman,0,0,0> 15<:f><:f240,2Times New Roman,0,0,0> 79<:f><:f240,2Times New Roman,0,0,0> 17<:f><:f240,2Times New Roman,0,0,0> "" "AmiDialog" "Find<:f><:f240,2Times New Roman,0,0,0>
"
<:f240,2Times New Roman,0,0,0>2<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 12 12 4 1342373896 "button" "c:\amipro\icons\dlgicos\fnd_<:f><:f240,2Times New Roman,0,0,0>repl<:f><:f240,2Times New Roman,0,0,0>.bmp" 0
<:f>
<:f240,2Times New Roman,0,0,0>15<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 12 12 3 1342373896 "button" "c:\amipro\icons\dlgicos\<:f><:f240,2Times New Roman,0,0,0>fnd_<:f><:f240,2Times New Roman,0,0,0>edit<:f><:f240,2Times New Roman,0,0,0>
.bmp" 0 <:f>
<:f240,2Times New Roman,0,0,0>28<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 12 12 5 1342373896 "button" "c:\amipro\icons\dlgicos\fnd_<:f><:f240,2Times New Roman,0,0,0>keyw<:f><:f240,2Times New Roman,0,0,0>.bmp" 0
<:f>
<:f240,2Times New Roman,0,0,0>41<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 12 12 7 1342373896 "button" "c:\amipro\icons\dlgicos\fnd_<:f><:f240,2Times New Roman,0,0,0>text<:f><:f240,2Times New Roman,0,0,0>.bmp" 0
<:f>
<:f240,2Times New Roman,0,0,0>54<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 13 12 6 1342373896 "button" "c:\amipro\icons\dlgicos\fnd_<:f><:f240,2Times New Roman,0,0,0>repm<:f><:f240,2Times New Roman,0,0,0>.bmp" 0
<:f240,2Times New Roman,0,0,0>69<:f><:f240,2Times New Roman,0,0,0> 7<:f><:f240,2Times New Roman,0,0,0> 8 8 2 1342373896 "button" "c:\amipro\icons\dlgicos\escape.bmp" 0
<:f>
<:f240,2Times New Roman,0,0,0>70<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 6<:f><:f240,2Times New Roman,0,0,0> 3<:f><:f240,2Times New Roman,0,0,0> 20 1342373888 "button" "" 0